<h1>Dodaj artykuł</h1>
<?php
echo $this->Blueprint->info("Czy chcesz " . $this->Html->link('wrócić do listy artykułów', array('action' => 'admin_index')) . "?");

$this->Javascript->link('ckeditor/ckeditor', NULL, false);

echo $this->Form->create('Article', array(
    'inputDefaults' => array(
        'label' => false,
        'div' => false
    )
));

echo $this->Table->open();

echo $this->Table->row("Tytuł: ", $this->Form->input('title'));
echo $this->Table->row("Kategoria: ", $this->Form->select('category_id', array($categories), array('selected' => 0)));
echo $this->Table->row("Treść: ", $this->Form->input('content', array('rows' => '3')));
echo $this->CKEditor->load('Article.content');
echo $this->Table->row("", $this->Form->end('Zapisz'));

echo $this->Table->close();
?>